namespace Matrix.ServiceDiscovery.Enums
{
    /// <summary>
    /// 服务类型枚举
    /// </summary>
    public enum ServiceType
    {
        /// <summary>
        /// 未指定类型
        /// </summary>
        None = 0,

        /// <summary>
        /// Web API服务
        /// </summary>
        WebApi = 1,

        /// <summary>
        /// API服务
        /// </summary>
        Api = 2,

        /// <summary>
        /// 微服务
        /// </summary>
        MicroService = 3,

        /// <summary>
        /// 后台服务
        /// </summary>
        BackgroundService = 4,

        /// <summary>
        /// 工作服务
        /// </summary>
        Worker = 5,

        /// <summary>
        /// 网关服务
        /// </summary>
        Gateway = 6,

        /// <summary>
        /// 数据库服务
        /// </summary>
        Database = 7,

        /// <summary>
        /// 缓存服务
        /// </summary>
        Cache = 8,

        /// <summary>
        /// 消息队列服务
        /// </summary>
        MessageQueue = 9,

        /// <summary>
        /// 配置服务
        /// </summary>
        Configuration = 10,

        /// <summary>
        /// 监控服务
        /// </summary>
        Monitoring = 11,

        /// <summary>
        /// 日志服务
        /// </summary>
        Logging = 12,

        /// <summary>
        /// 其他类型
        /// </summary>
        Other = 99
    }
}